package org.onebricks;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SessionListener implements HttpSessionListener {

	public void sessionCreated(HttpSessionEvent se) {
		LOG.info("Session created.");
		LOG.debug(se.toString());
	}

	public void sessionDestroyed(HttpSessionEvent se) {
		LOG.info("Session destroyed.");
		LOG.debug(se.toString());
	}

	private static final Logger LOG = LoggerFactory.getLogger(SessionListener.class);
}
